package com.pennysaver.dao;

import com.pennysaver.dao.mysql.MySqlDaoFactory;

public abstract class DaoFactory {

	public static final int MYSQL = 1;

	public abstract UserDao getUserDao();

	public static DaoFactory getDaoFactory(int whichFactory) {
		switch (whichFactory) {
		case MYSQL:
			return new MySqlDaoFactory();
		default:
			return null;
		}
	}
}
